<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>SystemSharp: Synthesis.cs Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">SystemSharp
   &#160;<span id="projectnumber">0.3</span>
   </div>
   <div id="projectbrief">A system-level modeling framework for designing real-time embedded systems</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_synthesis_8cs_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Events</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">Synthesis.cs</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_synthesis_8cs.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">using</span> System;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">using</span> System.Collections.Generic;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">using</span> System.Linq;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">using</span> System.Text;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">using</span> System.Reflection;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">using</span> System.Reflection.Emit;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">using</span> System.IO;</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keyword">using</span> System.CodeDom.Compiler;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="keyword">using</span> System.Diagnostics;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">using</span> SystemSharp.Components;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">using</span> SystemSharp.Analysis;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keyword">using</span> SystemSharp.Meta;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">namespace </span>SystemSharp.Synthesis</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;{</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_synthesis_1_1_i_project.html">   45</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_project.html">IProject</a></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    {</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        <span class="keywordtype">string</span> AddFile(<span class="keywordtype">string</span> name);</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        <span class="keywordtype">void</span> AddFileAttribute(<span class="keywordtype">string</span> name, <span class="keywordtype">object</span> attr);</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        <span class="keywordtype">void</span> Save();</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    }</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_synthesis_1_1_library_attribute.html">   81</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_synthesis_1_1_library_attribute.html">LibraryAttribute</a></div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    {</div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_synthesis_1_1_library_attribute.html#aa8fb0904ca85d4d4a7e274fea1db69ca">   87</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_synthesis_1_1_library_attribute.html#aa8fb0904ca85d4d4a7e274fea1db69ca">LibraryAttribute</a>(<span class="keywordtype">string</span> name)</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        {</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;            Name = name;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        }</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_synthesis_1_1_library_attribute.html#a905146aa61c4a6b064123136b52616ce">   95</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> Name { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    }</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_synthesis_1_1_project_extensions.html">  101</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_synthesis_1_1_project_extensions.html">ProjectExtensions</a></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    {</div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_synthesis_1_1_project_extensions.html#af69bb666218ab2294fb78074e8013fff">  109</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_synthesis_1_1_project_extensions.html#af69bb666218ab2294fb78074e8013fff">SetFileLibrary</a>(<span class="keyword">this</span> <a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_project.html">IProject</a> project, <span class="keywordtype">string</span> file, <span class="keywordtype">string</span> library)</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        {</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;            project.AddFileAttribute(file, <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_synthesis_1_1_library_attribute.html">LibraryAttribute</a>(library));</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        }</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    }</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_synthesis_1_1_i_code_generator.html">  118</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_code_generator.html">ICodeGenerator</a></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    {</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        <span class="keywordtype">string</span> GetComponentID(<a class="code" href="interface_system_sharp_1_1_meta_1_1_i_component_descriptor.html">IComponentDescriptor</a> cdesc);</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        <span class="keywordtype">void</span> Initialize(<a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_project.html">IProject</a> project, <a class="code" href="class_system_sharp_1_1_components_1_1_design_context.html">DesignContext</a> context);</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;        <span class="keywordtype">void</span> GenerateComponent(<a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_project.html">IProject</a> project, <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_component_descriptor.html">IComponentDescriptor</a> cdesc);</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;        <span class="keywordtype">void</span> GeneratePackage(<a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_project.html">IProject</a> project, <a class="code" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html">PackageDescriptor</a> pdesc);</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    }</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_synthesis_1_1_i_synthesis_context.html">  153</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">interface </span><a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_synthesis_context.html">ISynthesisContext</a></div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    {</div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_synthesis_1_1_i_synthesis_context.html#a6b7e7d2256ce8e9143c08c62ed9076fe">  158</a></span>&#160;        <a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_project.html">IProject</a> Project { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;</div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="interface_system_sharp_1_1_synthesis_1_1_i_synthesis_context.html#ae7ed2feb5eb422a6a92b8ba90502ead4">  163</a></span>&#160;        <a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_code_generator.html">ICodeGenerator</a> CodeGen { <span class="keyword">get</span>; }</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;        <span class="keywordtype">void</span> DoBehavioralAnalysisAndGenerate(<a class="code" href="class_system_sharp_1_1_components_1_1_component.html">Component</a> component);</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    }</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div>
<div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html">  172</a></span>&#160;    <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html">DefaultSynthesisContext</a> : <a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_synthesis_context.html">ISynthesisContext</a></div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    {</div>
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html#a28e188c2bd24e3df2cc693d3e2b4069b">  174</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_project.html">IProject</a> Project { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html#adaacf623e4ecc5311815cc428b061d80">  175</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_code_generator.html">ICodeGenerator</a> CodeGen { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html#ac1423e13575bcec47e0fb747f7611c53">  176</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_components_1_1_design_context.html">DesignContext</a> ModelContext { <span class="keyword">get</span>; <span class="keyword">private</span> set; }</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;        <span class="keyword">private</span> IEnumerable&lt;IComponentDescriptor&gt; _componentSet;</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;</div>
<div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html#a587bb6f8a7bc2cab72238c3e36b7181d">  180</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html#a587bb6f8a7bc2cab72238c3e36b7181d">DefaultSynthesisContext</a>(<a class="code" href="class_system_sharp_1_1_components_1_1_design_context.html">DesignContext</a> simCtx, <a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_project.html">IProject</a> project, <a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_code_generator.html">ICodeGenerator</a> codeGen)</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;        {</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;            ModelContext = simCtx;</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;            Project = project;</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;            CodeGen = codeGen;</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;            _componentSet = ModelContext.Components.Select(cd =&gt; cd.Descriptor);</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;        }</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;</div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html#a51dd0d363a704fb02a5eeb9d0d80b137">  188</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html#a51dd0d363a704fb02a5eeb9d0d80b137">DefaultSynthesisContext</a>(<a class="code" href="class_system_sharp_1_1_components_1_1_design_context.html">DesignContext</a> simCtx, <a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_project.html">IProject</a> project, </div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;            <a class="code" href="interface_system_sharp_1_1_meta_1_1_i_component_descriptor.html">IComponentDescriptor</a> top, <a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_code_generator.html">ICodeGenerator</a> codeGen)</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;        {</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;            ModelContext = simCtx;</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;            Project = project;</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;            CodeGen = codeGen;</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;            _componentSet = top.GetAllAncestors();</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;        }</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;</div>
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html#acdc4d66213277165d25ca2f5f72f36d0">  197</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html#acdc4d66213277165d25ca2f5f72f36d0">DefaultSynthesisContext</a>(<a class="code" href="class_system_sharp_1_1_components_1_1_design_context.html">DesignContext</a> simCtx, <a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_project.html">IProject</a> project,</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;            IEnumerable&lt;IComponentDescriptor&gt; componentSet, <a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_code_generator.html">ICodeGenerator</a> codeGen)</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;        {</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;            ModelContext = simCtx;</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;            Project = project;</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;            CodeGen = codeGen;</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;            _componentSet = componentSet;</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;        }</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;</div>
<div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html#a4ce485986840d8e6e99294fa103e1d2e">  206</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html#a4ce485986840d8e6e99294fa103e1d2e">DoBehavioralAnalysisAndGenerate</a>(<a class="code" href="class_system_sharp_1_1_components_1_1_component.html">Component</a> component)</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;        {</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;            component.Descriptor.HasForeignImplementation = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        }</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;</div>
<div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html#a3980ddbdf75b97dc29fb767998cb4428">  211</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html#a3980ddbdf75b97dc29fb767998cb4428">Synthesize</a>()</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;        {</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;            var repSet = <span class="keyword">new</span> Dictionary&lt;Component, Component&gt;(Component.BehaviorComparer);</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;            <span class="keywordflow">foreach</span> (var cdesc <span class="keywordflow">in</span> _componentSet)</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;            {</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;                var cd = cdesc as <a class="code" href="class_system_sharp_1_1_meta_1_1_component_descriptor.html">ComponentDescriptor</a>;</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;                <span class="keywordflow">if</span> (cd == null)</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;                    <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;                var component = cd.Instance;</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;                <span class="keywordflow">if</span> (repSet.ContainsKey(component))</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;                    component.Representant = repSet[component];</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;                <span class="keywordflow">else</span></div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;                    repSet[component] = component;</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;            }</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;            <span class="keywordflow">foreach</span> (<a class="code" href="class_system_sharp_1_1_components_1_1_component.html">Component</a> component <span class="keywordflow">in</span> repSet.Keys)</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;            {</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;                component.Descriptor.HasForeignImplementation = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;                component.OnSynthesisInternal(<span class="keyword">this</span>);</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;            }</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;            ModelContext.CompleteAnalysis();</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;            ModelContext.Descriptor.ResolveTypeDependencies();</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;            CodeGen.Initialize(Project, ModelContext);</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;            <span class="keywordflow">foreach</span> (var component <span class="keywordflow">in</span> repSet.Keys)</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;            {</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;                var cdd = component.Descriptor;</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;                <span class="keywordflow">if</span> (cdd != null &amp;&amp; cdd.HasForeignImplementation)</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;                    <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;                CodeGen.GenerateComponent(Project, cdd);</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;            }</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;            <span class="keywordflow">foreach</span> (<a class="code" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html">PackageDescriptor</a> pd <span class="keywordflow">in</span> ModelContext.Descriptor.GetPackages())</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;            {</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;                <span class="keywordflow">if</span> (pd.<a class="code" href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#a25e75d712c20d33f1b8706778b18e2d1">IsEmpty</a>)</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;                    <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;                CodeGen.GeneratePackage(Project, pd);</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;            }</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;        }</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;    }</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;</div>
<div class="line"><a name="l00253"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_synthesis_1_1_synthesis_engine.html">  253</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_system_sharp_1_1_synthesis_1_1_synthesis_engine.html">SynthesisEngine</a></div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    {</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;        <span class="keyword">private</span> <a class="code" href="class_system_sharp_1_1_components_1_1_design_context.html">DesignContext</a> _ctx;</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;        <span class="keyword">private</span> <a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_project.html">IProject</a> _project;</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;        <span class="keyword">private</span> <a class="code" href="class_system_sharp_1_1_synthesis_1_1_synthesis_engine.html">SynthesisEngine</a>(<a class="code" href="class_system_sharp_1_1_components_1_1_design_context.html">DesignContext</a> ctx, <a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_project.html">IProject</a> project)</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;        {</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;            _ctx = ctx;</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;            _project = project;</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;            _ctx.RunRefinements(_project);</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;        }</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;</div>
<div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_synthesis_1_1_synthesis_engine.html#a94e035c8096642491386d01ee5b19f75">  271</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <a class="code" href="class_system_sharp_1_1_synthesis_1_1_synthesis_engine.html">SynthesisEngine</a> <a class="code" href="class_system_sharp_1_1_synthesis_1_1_synthesis_engine.html#a94e035c8096642491386d01ee5b19f75">Create</a>(<a class="code" href="class_system_sharp_1_1_components_1_1_design_context.html">DesignContext</a> ctx, <a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_project.html">IProject</a> project)</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;        {</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_synthesis_1_1_synthesis_engine.html">SynthesisEngine</a>(ctx, project);</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;        }</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;</div>
<div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_synthesis_1_1_synthesis_engine.html#a74e1e5963add1ffa607d955af0d22a7a">  280</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_synthesis_1_1_synthesis_engine.html#a74e1e5963add1ffa607d955af0d22a7a">Synthesize</a>(<a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_code_generator.html">ICodeGenerator</a> codeGen)</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;        {</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;            <a class="code" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html">DefaultSynthesisContext</a> sctx = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html">DefaultSynthesisContext</a>(_ctx, _project, codeGen);</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;            sctx.Synthesize();</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;        }</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;</div>
<div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_synthesis_1_1_synthesis_engine.html#a41f30e7fcc94f576ee20fb4f87db261b">  292</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_synthesis_1_1_synthesis_engine.html#a41f30e7fcc94f576ee20fb4f87db261b">Synthesize</a>(<a class="code" href="class_system_sharp_1_1_components_1_1_component.html">Component</a> top, <a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_code_generator.html">ICodeGenerator</a> codeGen)</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;        {</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;            <a class="code" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html">DefaultSynthesisContext</a> sctx = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html">DefaultSynthesisContext</a>(_ctx, _project, top.<a class="code" href="class_system_sharp_1_1_components_1_1_component.html#a0fbf3618498aec1964b817cdd0742890">Descriptor</a>, codeGen);</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;            sctx.Synthesize();</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;        }</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;</div>
<div class="line"><a name="l00304"></a><span class="lineno"><a class="line" href="class_system_sharp_1_1_synthesis_1_1_synthesis_engine.html#a47e1465a18f4fe4c2ccf91cccd702be7">  304</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_system_sharp_1_1_synthesis_1_1_synthesis_engine.html#a47e1465a18f4fe4c2ccf91cccd702be7">Synthesize</a>(</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;            IEnumerable&lt;IComponentDescriptor&gt; componentSet, </div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;            <a class="code" href="interface_system_sharp_1_1_synthesis_1_1_i_code_generator.html">ICodeGenerator</a> codeGen)</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;        {</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;            <a class="code" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html">DefaultSynthesisContext</a> sctx = <span class="keyword">new</span> <a class="code" href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html">DefaultSynthesisContext</a>(_ctx, _project, componentSet, codeGen);</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;            sctx.Synthesize();</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;        }</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;    }</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;}</div>
<div class="ttc" id="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context_html_a587bb6f8a7bc2cab72238c3e36b7181d"><div class="ttname"><a href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html#a587bb6f8a7bc2cab72238c3e36b7181d">SystemSharp.Synthesis.DefaultSynthesisContext.DefaultSynthesisContext</a></div><div class="ttdeci">DefaultSynthesisContext(DesignContext simCtx, IProject project, ICodeGenerator codeGen)</div><div class="ttdef"><b>Definition:</b> <a href="_synthesis_8cs_source.html#l00180">Synthesis.cs:180</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context_html_acdc4d66213277165d25ca2f5f72f36d0"><div class="ttname"><a href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html#acdc4d66213277165d25ca2f5f72f36d0">SystemSharp.Synthesis.DefaultSynthesisContext.DefaultSynthesisContext</a></div><div class="ttdeci">DefaultSynthesisContext(DesignContext simCtx, IProject project, IEnumerable&lt; IComponentDescriptor &gt; componentSet, ICodeGenerator codeGen)</div><div class="ttdef"><b>Definition:</b> <a href="_synthesis_8cs_source.html#l00197">Synthesis.cs:197</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_package_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_package_descriptor.html">SystemSharp.Meta.PackageDescriptor</a></div><div class="ttdoc">Describes a package. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01969">ComponentsReflection.cs:1969</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_synthesis_1_1_synthesis_engine_html_a41f30e7fcc94f576ee20fb4f87db261b"><div class="ttname"><a href="class_system_sharp_1_1_synthesis_1_1_synthesis_engine.html#a41f30e7fcc94f576ee20fb4f87db261b">SystemSharp.Synthesis.SynthesisEngine.Synthesize</a></div><div class="ttdeci">void Synthesize(Component top, ICodeGenerator codeGen)</div><div class="ttdoc">Synthesis the design, starting from a user-defined top-level component downwards, using the specified...</div><div class="ttdef"><b>Definition:</b> <a href="_synthesis_8cs_source.html#l00292">Synthesis.cs:292</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context_html_a51dd0d363a704fb02a5eeb9d0d80b137"><div class="ttname"><a href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html#a51dd0d363a704fb02a5eeb9d0d80b137">SystemSharp.Synthesis.DefaultSynthesisContext.DefaultSynthesisContext</a></div><div class="ttdeci">DefaultSynthesisContext(DesignContext simCtx, IProject project, IComponentDescriptor top, ICodeGenerator codeGen)</div><div class="ttdef"><b>Definition:</b> <a href="_synthesis_8cs_source.html#l00188">Synthesis.cs:188</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_synthesis_1_1_library_attribute_html"><div class="ttname"><a href="class_system_sharp_1_1_synthesis_1_1_library_attribute.html">SystemSharp.Synthesis.LibraryAttribute</a></div><div class="ttdoc">Project-specific attribute which associates a file with the library name the file belongs to...</div><div class="ttdef"><b>Definition:</b> <a href="_synthesis_8cs_source.html#l00081">Synthesis.cs:81</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_synthesis_1_1_synthesis_engine_html_a74e1e5963add1ffa607d955af0d22a7a"><div class="ttname"><a href="class_system_sharp_1_1_synthesis_1_1_synthesis_engine.html#a74e1e5963add1ffa607d955af0d22a7a">SystemSharp.Synthesis.SynthesisEngine.Synthesize</a></div><div class="ttdeci">void Synthesize(ICodeGenerator codeGen)</div><div class="ttdoc">Synthesizes the design using the specified code generator. </div><div class="ttdef"><b>Definition:</b> <a href="_synthesis_8cs_source.html#l00280">Synthesis.cs:280</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_component_html_a0fbf3618498aec1964b817cdd0742890"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_component.html#a0fbf3618498aec1964b817cdd0742890">SystemSharp.Components.Component.Descriptor</a></div><div class="ttdeci">ComponentDescriptor Descriptor</div><div class="ttdoc">The associated component descriptor </div><div class="ttdef"><b>Definition:</b> <a href="_component_8cs_source.html#l00423">Component.cs:423</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context_html_a4ce485986840d8e6e99294fa103e1d2e"><div class="ttname"><a href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html#a4ce485986840d8e6e99294fa103e1d2e">SystemSharp.Synthesis.DefaultSynthesisContext.DoBehavioralAnalysisAndGenerate</a></div><div class="ttdeci">void DoBehavioralAnalysisAndGenerate(Component component)</div><div class="ttdoc">Instructs the synthesis engine to generate to particular component. </div><div class="ttdef"><b>Definition:</b> <a href="_synthesis_8cs_source.html#l00206">Synthesis.cs:206</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_synthesis_1_1_i_code_generator_html"><div class="ttname"><a href="interface_system_sharp_1_1_synthesis_1_1_i_code_generator.html">SystemSharp.Synthesis.ICodeGenerator</a></div><div class="ttdoc">Source code generator interface. </div><div class="ttdef"><b>Definition:</b> <a href="_synthesis_8cs_source.html#l00118">Synthesis.cs:118</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_synthesis_1_1_project_extensions_html_af69bb666218ab2294fb78074e8013fff"><div class="ttname"><a href="class_system_sharp_1_1_synthesis_1_1_project_extensions.html#af69bb666218ab2294fb78074e8013fff">SystemSharp.Synthesis.ProjectExtensions.SetFileLibrary</a></div><div class="ttdeci">static void SetFileLibrary(this IProject project, string file, string library)</div><div class="ttdoc">Associates a project file with a library name. </div><div class="ttdef"><b>Definition:</b> <a href="_synthesis_8cs_source.html#l00109">Synthesis.cs:109</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context_html_a3980ddbdf75b97dc29fb767998cb4428"><div class="ttname"><a href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html#a3980ddbdf75b97dc29fb767998cb4428">SystemSharp.Synthesis.DefaultSynthesisContext.Synthesize</a></div><div class="ttdeci">void Synthesize()</div><div class="ttdef"><b>Definition:</b> <a href="_synthesis_8cs_source.html#l00211">Synthesis.cs:211</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_synthesis_1_1_i_synthesis_context_html"><div class="ttname"><a href="interface_system_sharp_1_1_synthesis_1_1_i_synthesis_context.html">SystemSharp.Synthesis.ISynthesisContext</a></div><div class="ttdoc">The synthesis context interface provides the &quot;glue&quot; between project generator, code generator and des...</div><div class="ttdef"><b>Definition:</b> <a href="_synthesis_8cs_source.html#l00153">Synthesis.cs:153</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_design_context_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_design_context.html">SystemSharp.Components.DesignContext</a></div><div class="ttdoc">This class encapsulates the simulation context. Each design has an associated simulation context...</div><div class="ttdef"><b>Definition:</b> <a href="_design_context_8cs_source.html#l00047">DesignContext.cs:47</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_synthesis_1_1_library_attribute_html_aa8fb0904ca85d4d4a7e274fea1db69ca"><div class="ttname"><a href="class_system_sharp_1_1_synthesis_1_1_library_attribute.html#aa8fb0904ca85d4d4a7e274fea1db69ca">SystemSharp.Synthesis.LibraryAttribute.LibraryAttribute</a></div><div class="ttdeci">LibraryAttribute(string name)</div><div class="ttdoc">Constructs a library attribute. </div><div class="ttdef"><b>Definition:</b> <a href="_synthesis_8cs_source.html#l00087">Synthesis.cs:87</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context_html"><div class="ttname"><a href="class_system_sharp_1_1_synthesis_1_1_default_synthesis_context.html">SystemSharp.Synthesis.DefaultSynthesisContext</a></div><div class="ttdef"><b>Definition:</b> <a href="_synthesis_8cs_source.html#l00172">Synthesis.cs:172</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_synthesis_1_1_synthesis_engine_html"><div class="ttname"><a href="class_system_sharp_1_1_synthesis_1_1_synthesis_engine.html">SystemSharp.Synthesis.SynthesisEngine</a></div><div class="ttdoc">The synthesis engine generates source code and a project from a design. </div><div class="ttdef"><b>Definition:</b> <a href="_synthesis_8cs_source.html#l00253">Synthesis.cs:253</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_synthesis_1_1_synthesis_engine_html_a94e035c8096642491386d01ee5b19f75"><div class="ttname"><a href="class_system_sharp_1_1_synthesis_1_1_synthesis_engine.html#a94e035c8096642491386d01ee5b19f75">SystemSharp.Synthesis.SynthesisEngine.Create</a></div><div class="ttdeci">static SynthesisEngine Create(DesignContext ctx, IProject project)</div><div class="ttdoc">Creates a new synthesis engine. </div><div class="ttdef"><b>Definition:</b> <a href="_synthesis_8cs_source.html#l00271">Synthesis.cs:271</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_synthesis_1_1_project_extensions_html"><div class="ttname"><a href="class_system_sharp_1_1_synthesis_1_1_project_extensions.html">SystemSharp.Synthesis.ProjectExtensions</a></div><div class="ttdoc">This static class provides extension methods to work with project generators. </div><div class="ttdef"><b>Definition:</b> <a href="_synthesis_8cs_source.html#l00101">Synthesis.cs:101</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_synthesis_1_1_i_project_html"><div class="ttname"><a href="interface_system_sharp_1_1_synthesis_1_1_i_project.html">SystemSharp.Synthesis.IProject</a></div><div class="ttdoc">Interface for project generators. </div><div class="ttdef"><b>Definition:</b> <a href="_synthesis_8cs_source.html#l00045">Synthesis.cs:45</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_synthesis_1_1_synthesis_engine_html_a47e1465a18f4fe4c2ccf91cccd702be7"><div class="ttname"><a href="class_system_sharp_1_1_synthesis_1_1_synthesis_engine.html#a47e1465a18f4fe4c2ccf91cccd702be7">SystemSharp.Synthesis.SynthesisEngine.Synthesize</a></div><div class="ttdeci">void Synthesize(IEnumerable&lt; IComponentDescriptor &gt; componentSet, ICodeGenerator codeGen)</div><div class="ttdoc">Synthesizes the design, starting from a user-defined set of top-level components downwards, using the specified code generator. </div><div class="ttdef"><b>Definition:</b> <a href="_synthesis_8cs_source.html#l00304">Synthesis.cs:304</a></div></div>
<div class="ttc" id="interface_system_sharp_1_1_meta_1_1_i_component_descriptor_html"><div class="ttname"><a href="interface_system_sharp_1_1_meta_1_1_i_component_descriptor.html">SystemSharp.Meta.IComponentDescriptor</a></div><div class="ttdoc">Base interface for component descriptors. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l01923">ComponentsReflection.cs:1923</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_component_descriptor_html"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_component_descriptor.html">SystemSharp.Meta.ComponentDescriptor</a></div><div class="ttdoc">Describes a component. </div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02092">ComponentsReflection.cs:2092</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_meta_1_1_package_descriptor_html_a25e75d712c20d33f1b8706778b18e2d1"><div class="ttname"><a href="class_system_sharp_1_1_meta_1_1_package_descriptor.html#a25e75d712c20d33f1b8706778b18e2d1">SystemSharp.Meta.PackageDescriptor.IsEmpty</a></div><div class="ttdeci">bool IsEmpty</div><div class="ttdoc">Determines whether the package is empty, that is if does not contain any method, constant or type...</div><div class="ttdef"><b>Definition:</b> <a href="_components_reflection_8cs_source.html#l02001">ComponentsReflection.cs:2001</a></div></div>
<div class="ttc" id="class_system_sharp_1_1_components_1_1_component_html"><div class="ttname"><a href="class_system_sharp_1_1_components_1_1_component.html">SystemSharp.Components.Component</a></div><div class="ttdoc">The abstract base class for defining components. </div><div class="ttdef"><b>Definition:</b> <a href="_component_8cs_source.html#l00038">Component.cs:38</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_bb5e995590685548b7e11478911ee7c3.html">SystemSharp-Google-SVN</a></li><li class="navelem"><a class="el" href="dir_8deefa4467a62b572b52d238d562b104.html">SystemSharp</a></li><li class="navelem"><a class="el" href="dir_0e5a72156f8560bbc472a395da2569d6.html">SystemSharp</a></li><li class="navelem"><a class="el" href="dir_9d3c30b4336bd92c64ccf0aeee487ace.html">SystemSharp</a></li><li class="navelem"><a class="el" href="dir_c7fae1b46a76b74206568f11430f4459.html">Synthesis</a></li><li class="navelem"><a class="el" href="_synthesis_8cs.html">Synthesis.cs</a></li>
    <li class="footer">Generated on Thu Dec 26 2013 14:21:43 for SystemSharp by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
